home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QRZ! Ham Radio 8
/
QRZ Ham Radio Callsign Database - Volume 8.iso
/
pc
/
files
/
dsp
/
a56_10sh.z
/
a56_10sh
/
tok.awk
< prev
next >
Wrap
Text File
|
1996-06-25
|
211b
|
4 lines
BEGIN {printf("struct {int n; char *name;} tok_tab[] = {\n");}
/# define/ {printf(" {%d, \"%s\"},\n", $4, $3);}
END {printf("};\n#define N_TOK (sizeof tok_tab / sizeof tok_tab[0])\nint n_tok = N_TOK;\n");}